package com.huiminpay.transaction.api.service;

import com.huiminpay.common.cache.exception.BizException;
import com.huiminpay.transaction.api.dto.PayChannelDTO;
import com.huiminpay.transaction.api.dto.PayChannelParamDTO;
import com.huiminpay.transaction.api.dto.PlatformChannelDTO;

import java.util.List;

public interface IPayService {

    List<PlatformChannelDTO> findAllPlatformChannel();

    Integer openAppService(String appId, String platfromChannel) throws BizException;

    Integer queryOpenService(String appId, String platfromChannel);

    List<PayChannelDTO> findPlatfromChannels(String platfromChannelCode);

    PayChannelParamDTO savePayChannelParam(PayChannelParamDTO payChannelParamDTO) throws BizException;

    List<PayChannelParamDTO> queryPlatfromChannelPayParams(String appId, String platfromChannel);

    PayChannelParamDTO queryPlatformChannelPayParam(String appId, String platfromChannel, String payChannel) throws BizException;
}
